package lab02.test15;

/**
 * Created by leovo on 2017/10/22.
 */
public abstract class Graduate implements StudentInterface, TeacherInterface {
    String name;
    String sex;
    int age;
    double fee;
    double pay;

    public Graduate() {
        name = "zhangsan";
        if (pay - fee < 2000) ;
        System.out.println("You  need a loan!");
        if (pay-fee>=2000);
        System.out.println("You income is enough！");
    }
}



